Render to texture

Here is some starter code: